﻿namespace Service.Auth.Model.Model.Dto;


public class PermissionDto
{
    /// <summary>
    /// 
    /// </summary>
    public long Id { get; set; }


    /// <summary>
    /// 菜单执行Action名
    /// </summary>
    public string Code { get; set; }


    /// <summary>
    /// 菜单显示名（如用户页、编辑(按钮)、删除(按钮)）
    /// </summary>
    public string Name { get; set; }

    /// <summary>
    /// 是否是按钮
    /// </summary>
    public bool IsButton { get; set; }




    /// <summary>
    /// 是否是隐藏菜单
    /// </summary>
    public bool IsHide { get; set; }



    /// <summary>
    /// 按钮事件
    /// </summary>
    public string Func { get; set; }



    /// <summary>
    /// 排序
    /// </summary>
    public int OrderSort { get; set; }



    /// <summary>
    /// 菜单图标
    /// </summary>
    public string Icon { get; set; }


    /// <summary>
    /// 菜单描述    
    /// </summary>
    public string Description { get; set; }




    /// <summary>
    /// 组件地址
    /// </summary>
    public string Component { get; set; }

    public List<string> Permissions { get; set; }

    public List<PermissionDto> Children { get; set; }

}